<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::EnergyMaps类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_energy_maps.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1_energy_maps-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::EnergyMaps类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Stores a set of energy maps.  
 <a href="classpcl_1_1_energy_maps.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="linemod_8h_source.html">linemod.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a3510f29e006f2d803bd7224cc7fbee83"><td class="memItemLeft" align="right" valign="top"><a id="a3510f29e006f2d803bd7224cc7fbee83"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a3510f29e006f2d803bd7224cc7fbee83">EnergyMaps</a> ()</td></tr>
<tr class="memdesc:a3510f29e006f2d803bd7224cc7fbee83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:a3510f29e006f2d803bd7224cc7fbee83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ca2363af6319e3376d1eee6fcd18b37"><td class="memItemLeft" align="right" valign="top"><a id="a9ca2363af6319e3376d1eee6fcd18b37"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a9ca2363af6319e3376d1eee6fcd18b37">~EnergyMaps</a> ()</td></tr>
<tr class="memdesc:a9ca2363af6319e3376d1eee6fcd18b37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a9ca2363af6319e3376d1eee6fcd18b37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab39875c9c212fdae0d2fb27c7aa55911"><td class="memItemLeft" align="right" valign="top"><a id="ab39875c9c212fdae0d2fb27c7aa55911"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#ab39875c9c212fdae0d2fb27c7aa55911">getWidth</a> () const</td></tr>
<tr class="memdesc:ab39875c9c212fdae0d2fb27c7aa55911"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the width of the energy maps. <br /></td></tr>
<tr class="separator:ab39875c9c212fdae0d2fb27c7aa55911"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcbc1cb6c3b99730f1db7e74659313cc"><td class="memItemLeft" align="right" valign="top"><a id="afcbc1cb6c3b99730f1db7e74659313cc"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#afcbc1cb6c3b99730f1db7e74659313cc">getHeight</a> () const</td></tr>
<tr class="memdesc:afcbc1cb6c3b99730f1db7e74659313cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the height of the energy maps. <br /></td></tr>
<tr class="separator:afcbc1cb6c3b99730f1db7e74659313cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa30f9b6f4648122e1bb2d525c05b1f65"><td class="memItemLeft" align="right" valign="top"><a id="aa30f9b6f4648122e1bb2d525c05b1f65"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#aa30f9b6f4648122e1bb2d525c05b1f65">getNumOfBins</a> () const</td></tr>
<tr class="memdesc:aa30f9b6f4648122e1bb2d525c05b1f65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of bins used for quantization (which is equal to the number of energy maps). <br /></td></tr>
<tr class="separator:aa30f9b6f4648122e1bb2d525c05b1f65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8eab24aad0edd1a5af94e89c255100b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a8eab24aad0edd1a5af94e89c255100b2">initialize</a> (const size_t width, const size_t height, const size_t nr_bins)</td></tr>
<tr class="memdesc:a8eab24aad0edd1a5af94e89c255100b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the set of energy maps.  <a href="classpcl_1_1_energy_maps.html#a8eab24aad0edd1a5af94e89c255100b2">更多...</a><br /></td></tr>
<tr class="separator:a8eab24aad0edd1a5af94e89c255100b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b446dfa89e547feaaf3aaad3c0bae33"><td class="memItemLeft" align="right" valign="top"><a id="a6b446dfa89e547feaaf3aaad3c0bae33"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a6b446dfa89e547feaaf3aaad3c0bae33">releaseAll</a> ()</td></tr>
<tr class="memdesc:a6b446dfa89e547feaaf3aaad3c0bae33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases the internal data. <br /></td></tr>
<tr class="separator:a6b446dfa89e547feaaf3aaad3c0bae33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55cd5dc5f9d1742475cd3ec30e26f175"><td class="memItemLeft" align="right" valign="top">unsigned char &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a55cd5dc5f9d1742475cd3ec30e26f175">operator()</a> (const size_t bin_index, const size_t col_index, const size_t row_index)</td></tr>
<tr class="memdesc:a55cd5dc5f9d1742475cd3ec30e26f175"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator for accessing a specific element in the set of energy maps.  <a href="classpcl_1_1_energy_maps.html#a55cd5dc5f9d1742475cd3ec30e26f175">更多...</a><br /></td></tr>
<tr class="separator:a55cd5dc5f9d1742475cd3ec30e26f175"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96418bc1dd4426afa28b79475d0fb7f7"><td class="memItemLeft" align="right" valign="top">unsigned char &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a96418bc1dd4426afa28b79475d0fb7f7">operator()</a> (const size_t bin_index, const size_t index)</td></tr>
<tr class="memdesc:a96418bc1dd4426afa28b79475d0fb7f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator for accessing a specific element in the set of energy maps.  <a href="classpcl_1_1_energy_maps.html#a96418bc1dd4426afa28b79475d0fb7f7">更多...</a><br /></td></tr>
<tr class="separator:a96418bc1dd4426afa28b79475d0fb7f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8705d36762eecc80e0a5b07ee5b1b05a"><td class="memItemLeft" align="right" valign="top">unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a8705d36762eecc80e0a5b07ee5b1b05a">operator()</a> (const size_t bin_index)</td></tr>
<tr class="memdesc:a8705d36762eecc80e0a5b07ee5b1b05a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the data of the specified energy map.  <a href="classpcl_1_1_energy_maps.html#a8705d36762eecc80e0a5b07ee5b1b05a">更多...</a><br /></td></tr>
<tr class="separator:a8705d36762eecc80e0a5b07ee5b1b05a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d8f73edde295202b5fde74542d3912d"><td class="memItemLeft" align="right" valign="top">const unsigned char &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a7d8f73edde295202b5fde74542d3912d">operator()</a> (const size_t bin_index, const size_t col_index, const size_t row_index) const</td></tr>
<tr class="memdesc:a7d8f73edde295202b5fde74542d3912d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator for accessing a specific element in the set of energy maps.  <a href="classpcl_1_1_energy_maps.html#a7d8f73edde295202b5fde74542d3912d">更多...</a><br /></td></tr>
<tr class="separator:a7d8f73edde295202b5fde74542d3912d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef93560b09051172c2fcb88f0b028481"><td class="memItemLeft" align="right" valign="top">const unsigned char &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#aef93560b09051172c2fcb88f0b028481">operator()</a> (const size_t bin_index, const size_t index) const</td></tr>
<tr class="memdesc:aef93560b09051172c2fcb88f0b028481"><td class="mdescLeft">&#160;</td><td class="mdescRight">Operator for accessing a specific element in the set of energy maps.  <a href="classpcl_1_1_energy_maps.html#aef93560b09051172c2fcb88f0b028481">更多...</a><br /></td></tr>
<tr class="separator:aef93560b09051172c2fcb88f0b028481"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd48418769c1739f95cba4bbd6ba4c11"><td class="memItemLeft" align="right" valign="top">const unsigned char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#acd48418769c1739f95cba4bbd6ba4c11">operator()</a> (const size_t bin_index) const</td></tr>
<tr class="memdesc:acd48418769c1739f95cba4bbd6ba4c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the data of the specified energy map.  <a href="classpcl_1_1_energy_maps.html#acd48418769c1739f95cba4bbd6ba4c11">更多...</a><br /></td></tr>
<tr class="separator:acd48418769c1739f95cba4bbd6ba4c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:ab7ecbd7e2c8489b23e5eacc351c92822"><td class="memItemLeft" align="right" valign="top"><a id="ab7ecbd7e2c8489b23e5eacc351c92822"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#ab7ecbd7e2c8489b23e5eacc351c92822">width_</a></td></tr>
<tr class="memdesc:ab7ecbd7e2c8489b23e5eacc351c92822"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the energy maps. <br /></td></tr>
<tr class="separator:ab7ecbd7e2c8489b23e5eacc351c92822"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3046dd50707d46c65f02c8a544c40acc"><td class="memItemLeft" align="right" valign="top"><a id="a3046dd50707d46c65f02c8a544c40acc"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a3046dd50707d46c65f02c8a544c40acc">height_</a></td></tr>
<tr class="memdesc:a3046dd50707d46c65f02c8a544c40acc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the energy maps. <br /></td></tr>
<tr class="separator:a3046dd50707d46c65f02c8a544c40acc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab746a387e29e1e9609a38b30cbda6af0"><td class="memItemLeft" align="right" valign="top"><a id="ab746a387e29e1e9609a38b30cbda6af0"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#ab746a387e29e1e9609a38b30cbda6af0">nr_bins_</a></td></tr>
<tr class="memdesc:ab746a387e29e1e9609a38b30cbda6af0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of quantization bins (== the number of internally stored energy maps). <br /></td></tr>
<tr class="separator:ab746a387e29e1e9609a38b30cbda6af0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95044852152efce19600b51ea77abc0e"><td class="memItemLeft" align="right" valign="top"><a id="a95044852152efce19600b51ea77abc0e"></a>
std::vector&lt; unsigned char * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a></td></tr>
<tr class="memdesc:a95044852152efce19600b51ea77abc0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Storage for the energy maps. <br /></td></tr>
<tr class="separator:a95044852152efce19600b51ea77abc0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Stores a set of energy maps. </p>
<dl class="section author"><dt>作者</dt><dd>Stefan Holzer </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a8eab24aad0edd1a5af94e89c255100b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eab24aad0edd1a5af94e89c255100b2">&#9670;&nbsp;</a></span>initialize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void pcl::EnergyMaps::initialize </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>nr_bins</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Initializes the set of energy maps. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>the width of the energy maps. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>the height of the energy maps. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nr_bins</td><td>the number of bins used for quantization. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;      {</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>.resize(nr_bins, NULL);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="classpcl_1_1_energy_maps.html#ab7ecbd7e2c8489b23e5eacc351c92822">width_</a> = width;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <a class="code" href="classpcl_1_1_energy_maps.html#a3046dd50707d46c65f02c8a544c40acc">height_</a> = height;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        <a class="code" href="classpcl_1_1_energy_maps.html#ab746a387e29e1e9609a38b30cbda6af0">nr_bins_</a> = nr_bins;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keyword">const</span> <span class="keywordtype">size_t</span> mapsSize = width*height;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;        <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> map_index = 0; map_index &lt; <a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>.size (); ++map_index)</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;          <span class="comment">//maps_[map_index] = new unsigned char[mapsSize];</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;          <a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[map_index] = <span class="keyword">reinterpret_cast&lt;</span><span class="keywordtype">unsigned</span> <span class="keywordtype">char</span>*<span class="keyword">&gt;</span> (aligned_malloc (mapsSize));</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;          memset (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[map_index], 0, mapsSize);</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        }</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_energy_maps_html_a3046dd50707d46c65f02c8a544c40acc"><div class="ttname"><a href="classpcl_1_1_energy_maps.html#a3046dd50707d46c65f02c8a544c40acc">pcl::EnergyMaps::height_</a></div><div class="ttdeci">size_t height_</div><div class="ttdoc">The height of the energy maps.</div><div class="ttdef"><b>Definition:</b> linemod.h:190</div></div>
<div class="ttc" id="aclasspcl_1_1_energy_maps_html_a95044852152efce19600b51ea77abc0e"><div class="ttname"><a href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">pcl::EnergyMaps::maps_</a></div><div class="ttdeci">std::vector&lt; unsigned char * &gt; maps_</div><div class="ttdoc">Storage for the energy maps.</div><div class="ttdef"><b>Definition:</b> linemod.h:194</div></div>
<div class="ttc" id="aclasspcl_1_1_energy_maps_html_ab746a387e29e1e9609a38b30cbda6af0"><div class="ttname"><a href="classpcl_1_1_energy_maps.html#ab746a387e29e1e9609a38b30cbda6af0">pcl::EnergyMaps::nr_bins_</a></div><div class="ttdeci">size_t nr_bins_</div><div class="ttdoc">The number of quantization bins (== the number of internally stored energy maps).</div><div class="ttdef"><b>Definition:</b> linemod.h:192</div></div>
<div class="ttc" id="aclasspcl_1_1_energy_maps_html_ab7ecbd7e2c8489b23e5eacc351c92822"><div class="ttname"><a href="classpcl_1_1_energy_maps.html#ab7ecbd7e2c8489b23e5eacc351c92822">pcl::EnergyMaps::width_</a></div><div class="ttdeci">size_t width_</div><div class="ttdoc">The width of the energy maps.</div><div class="ttdef"><b>Definition:</b> linemod.h:188</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a8705d36762eecc80e0a5b07ee5b1b05a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8705d36762eecc80e0a5b07ee5b1b05a">&#9670;&nbsp;</a></span>operator()() <span class="overload">[1/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char* pcl::EnergyMaps::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>bin_index</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to the data of the specified energy map. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bin_index</td><td>the index of the energy map to return (== the quantization bin). </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;      {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[bin_index]);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="acd48418769c1739f95cba4bbd6ba4c11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd48418769c1739f95cba4bbd6ba4c11">&#9670;&nbsp;</a></span>operator()() <span class="overload">[2/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned char* pcl::EnergyMaps::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>bin_index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to the data of the specified energy map. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bin_index</td><td>the index of the energy map to return (== the quantization bin). </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;      {</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[bin_index]);</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a55cd5dc5f9d1742475cd3ec30e26f175"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a55cd5dc5f9d1742475cd3ec30e26f175">&#9670;&nbsp;</a></span>operator()() <span class="overload">[3/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char&amp; pcl::EnergyMaps::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>bin_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator for accessing a specific element in the set of energy maps. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bin_index</td><td>the quantization bin (states which of the energy maps to access). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>the column index within the specified energy map. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>the row index within the specified energy map. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;      {</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[bin_index][row_index*<a class="code" href="classpcl_1_1_energy_maps.html#ab7ecbd7e2c8489b23e5eacc351c92822">width_</a> + col_index]);</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a7d8f73edde295202b5fde74542d3912d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d8f73edde295202b5fde74542d3912d">&#9670;&nbsp;</a></span>operator()() <span class="overload">[4/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned char&amp; pcl::EnergyMaps::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>bin_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator for accessing a specific element in the set of energy maps. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bin_index</td><td>the quantization bin (states which of the energy maps to access). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>the column index within the specified energy map. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>the row index within the specified energy map. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;      {</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[bin_index][row_index*<a class="code" href="classpcl_1_1_energy_maps.html#ab7ecbd7e2c8489b23e5eacc351c92822">width_</a> + col_index]);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a96418bc1dd4426afa28b79475d0fb7f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96418bc1dd4426afa28b79475d0fb7f7">&#9670;&nbsp;</a></span>operator()() <span class="overload">[5/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned char&amp; pcl::EnergyMaps::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>bin_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator for accessing a specific element in the set of energy maps. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bin_index</td><td>the quantization bin (states which of the energy maps to access). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>the element index within the specified energy map. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;      {</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[bin_index][index]);</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<a id="aef93560b09051172c2fcb88f0b028481"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef93560b09051172c2fcb88f0b028481">&#9670;&nbsp;</a></span>operator()() <span class="overload">[6/6]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const unsigned char&amp; pcl::EnergyMaps::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>bin_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Operator for accessing a specific element in the set of energy maps. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">bin_index</td><td>the quantization bin (states which of the energy maps to access). </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>the element index within the specified energy map. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;      {</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <span class="keywordflow">return</span> (<a class="code" href="classpcl_1_1_energy_maps.html#a95044852152efce19600b51ea77abc0e">maps_</a>[bin_index][index]);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;      }</div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>recognition/include/pcl/recognition/<a class="el" href="linemod_8h_source.html">linemod.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_energy_maps.html">EnergyMaps</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
